package de.maxbuttlies.playlistmaker;

import java.util.HashMap;
import java.util.Map;

public class ArgsParser {
	public Map<String,String> getMap(String[] args) {
		Map<String,String> params = new HashMap<String,String>();
		for (int i = 0; i < args.length-1; i++) {
			String arg = args[i];
			String name = args[i+1];
			params.put(arg, name);
		}

		return params;
	}
}
